From e0b74b4bc49b931715427d105c80ab4694efee1d Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 16 Aug 2006 00:20:09 +0000 Subject: [PATCH] (choose_write_coding_system): Use LF for end-of-line in auto-saving. --- src/fileio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fileio.c b/src/fileio.c index d26b2808726..4a39e7ffa19 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4845,6 +4845,8 @@ choose_write_coding_system (start, end, filename, /* ... but with the special flag to indicate not to strip off leading code of eight-bit-control chars. */ coding->flags = 1; + /* We force LF for end-of-line because that is faster. */ + coding->eol_type = CODING_EOL_LF; goto done_setup_coding; } else if (!NILP (Vcoding_system_for_write)) -- 2.30.2